/*
* Copyright 2018 Shanxi Lu'an Taihang Laihui Net Tech co.,LTD.
*/
package com.laihuichuxing.strategy;/**
 * Description:
 *
 * @author: Qinxuefeng
 * @since: 1.0
 * Create Date Time: 2019/1/3 14:11
 * Update Date Time:
 */

public interface Strategy {

    void algorithmInterface();
}
class ConcreteStrategyA implements Strategy{
    @Override
    public void algorithmInterface() {
        System.out.println("策略A的具体算法实现");
    }
}
class ConcreteStrategyB implements Strategy{
    @Override
    public void algorithmInterface() {
        System.out.println("策略B的具体算法实现");
    }
}
class ConcreteStrategyC implements Strategy{
    @Override
    public void algorithmInterface() {
        System.out.println("策略C的具体算法实现");
    }
}
